package com.wm.eduService.entity.vo;

import com.google.common.collect.Lists;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

/**
 * @Author: sshdg
 * @Date: 2020/10/2 8:15
 */
@Data
@AllArgsConstructor
public class ChapterVo {
    private String id;

    private String title;

    /**
     * 小节
     */
    private List<VideoVo> children = Lists.newArrayList();

    public ChapterVo(String id, String title) {
        this.id = id;
        this.title = title;
    }
}
